cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ DependencyPairsProof
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(true, x, y) → P(y)
COND2(false, x, y) → P(x)
COND1(true, x, y) → GR(y, 0)
COND2(true, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
COND2(false, x, y) → GR(x, 0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(true, x, y) → P(y)
COND2(false, x, y) → P(x)
COND1(true, x, y) → GR(y, 0)
COND2(true, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
COND2(false, x, y) → GR(x, 0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
GR(s(x), s(y)) → GR(x, y)
The value of delta used in the strict ordering is 15/8.
POL(GR(x1, x2)) = (15/4)x_2
POL(s(x1)) = 1/2 + (13/4)x_1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
Used ordering: Polynomial interpretation [25,35]:
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
The value of delta used in the strict ordering is 3/16.
POL(gr(x1, x2)) = (1/2)x_1 + (5/2)x_2
POL(true) = 7/4
POL(COND2(x1, x2, x3)) = 4 + (4)x_2
POL(false) = 0
POL(p(x1)) = (1/2)x_1
POL(s(x1)) = 7/2 + (4)x_1
POL(0) = 0
POL(COND1(x1, x2, x3)) = 1/4 + (9/4)x_1 + (4)x_2
p(s(x)) → x
p(0) → 0
gr(0, x) → false
gr(s(x), 0) → true
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
The value of delta used in the strict ordering is 13/8.
POL(gr(x1, x2)) = x_1
POL(COND2(x1, x2, x3)) = x_1 + (3/2)x_3
POL(true) = 2
POL(false) = 0
POL(p(x1)) = 1/4 + (1/4)x_1
POL(s(x1)) = 4 + (4)x_1
POL(0) = 0
p(s(x)) → x
p(0) → 0
gr(0, x) → false
gr(s(x), 0) → true
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x